<template>
  <v-overlay
    v-model="loading"
    class="align-center justify-center"
    :scrim="false"
  >
    <v-progress-circular
      color="primary"
      indeterminate
      size="64"
    ></v-progress-circular>
  </v-overlay>
</template>

<script setup lang="ts">
import { ref, onMounted } from 'vue'
import { useLoading } from '@/composables/useLoading'

const { loading } = useLoading()
</script>

<style scoped>
.v-overlay {
  background-color: rgba(0, 0, 0, 0.7);
}
</style> 